package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Jonathan
 * 2021/4/29 19:44
 * 实际上，cotroller应该调用interface，App裏面是實現
 */
@RestController
@RequestMapping("/redis_test")
public class RedisTestController {

//    @Resource
//    private RedisTestService redisTestService;

    @GetMapping
    public String testRedis() {
        //设置值到redis
//        return redisTestService.testRedis();
        return null;
    }
}
